﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WeMakeSP.Platform.SharePoint.BusinessEntities;
using WeMakeSP.Platform.SharePoint.Web.UI.Views;
using System.Web.UI;

namespace WeMakeSP.SiteManagement.UI.Views
{
    /// <summary>
    /// The interface for site hierarchy views.
    /// </summary>
    public interface ISiteHierarchyView : IViewPage
    {
        #region Properties

        /// <summary>
        /// Gets a value indicating whether [inherit logo].
        /// </summary>
        /// <value><c>true</c> if [inherit logo]; otherwise, <c>false</c>.</value>
        bool InheritLogo
        {
            get;
        }

        /// <summary>
        /// Gets a value indicating whether [inherit master page].
        /// </summary>
        /// <value><c>true</c> if [inherit master page]; otherwise, <c>false</c>.</value>
        bool InheritMasterPage
        {
            get;
        }

        /// <summary>
        /// Gets a value indicating whether [inherit theme].
        /// </summary>
        /// <value><c>true</c> if [inherit theme]; otherwise, <c>false</c>.</value>
        bool InheritTheme
        {
            get;
        }
        
        /// <summary>
        /// Gets the root web id.
        /// </summary>
        /// <value>The root web id.</value>
        Guid RootWebId
        {
            get;
            set;
        }
      
        /// <summary>
        /// Gets the selected web ids.
        /// </summary>
        /// <value>The selected web ids.</value>
        List<Guid> SelectedWebIds
        {
            get;
        }

        /// <summary>
        /// Gets or sets the web configuration.
        /// </summary>
        /// <value>The web configuration.</value>
        SPWebConfiguration WebConfiguration
        {
            get;
            set;
        }

        #endregion 

        #region Methods

        /// <summary>
        /// Redirects to settings page.
        /// </summary>
        void RedirectToSettingsPage();

        #endregion
    }
}
